package com.ronsai.umtrack.model;

import android.content.Context;

import com.ronsai.umtrack.api.Api;
import com.ronsai.umtrack.api.ObserverResponseListener;
import com.ronsai.umtrack.base.BaseModel;
import com.ronsai.umtrack.entity.Banner;

import java.util.List;

public class HomeModel extends BaseModel {

    public void getHomeBannerList(Context context, ObserverResponseListener<List<Banner>> listener) {
        subscribe(context, Api.getApiService().getHomeBannerList(), listener);
    }

}
